package com.baoming.service;

import java.util.List;

import com.baoming.domain.Article;
import com.baoming.util.PageInfo;

public interface IArticleService {
	String SERVICE = "com.baoming.service.impl.ArticleServiceImpl" ; 
	
	void saveArticle(Article article) ;

	List<Article> selectArticleWithPage(PageInfo pageInfo  , String memberId);

	List<Article> selectArticleWithSort(PageInfo pageInfo, String memberId);

	Article selectArticle(String articleId);

	void deleteArticle(String id);

	void modifyArticle(Article oldArticle);

	List<Article> selectSearchArticleWithPage(String keyword,
			PageInfo pageInfo, String memberId); 
}
